import {
  House,
  OfficeBuilding,
  Money,
  Document,
  FolderChecked,
  Files,
  FirstAidKit,
  Postcard,
} from '@element-plus/icons-vue'
const company = [
  {
    path: 'main',
    name: 'companyIndex',
    component: () => import('@/views/back/company/index.vue'),
    meta: {
      title: '首页',
      name: 'companyIndex',
      icon: House,
    },
  },
  {
    path: 'myCompany',
    name: 'myCompanyPage',
    component: () => import('@/views/back/company/myCompany.vue'),
    redirect: { name: 'companyPage' },
    children: [
      {
        path: 'certificationMethods',
        name: 'certificationMethods',
        component: () => import('@/views/back/company/certification/methods.vue'),
      },
      {
        path: 'companyPage',
        name: 'companyPage',
        component: () => import('@/views/back/company/certification/companyPage.vue'),
      },
      {
        path: 'certiFormPage',
        name: 'certiFormPage',
        component: () => import('@/views/back/company/certification/certiForm.vue'),
      },
      {
        path: 'contactManagePage',
        name: 'contactManagePage',
        component: () => import('@/views/back/company/certification/contactManage.vue'),
      },
      {
        path: 'certiInfoPage',
        name: 'certiInfoPage',
        component: () => import('@/views/back/company/certification/certiInfo.vue'),
      },
    ],
    meta: {
      title: '我的企业',
      name: 'myCompanyPage',
      icon: OfficeBuilding,
    },
  },

  {
    path: 'myFinanceNeeds',
    name: 'myFinanceNeedsPage',
    component: () => import('@/views/back/company/myFinanceNeeds.vue'),

    meta: {
      title: '我的融资需求',
      name: 'myFinanceNeedsPage',
      icon: Money,
    },
  },

  {
    path: 'needsForm',
    name: 'needsFormPage',
    component: () => import('@/views/back/company/financeNeeds/needsForm.vue'),
  },
  {
    path: 'needsInfo',
    name: 'needsInfoPage',
    component: () => import('@/views/back/company/financeNeeds/needsInfo.vue'),
  },
  // {
  //   path: 'myPolicy',
  //   name: 'myPolicyPage',
  //   component: () => import('@/views/back/company/myPolicy.vue'),

  //   meta: {
  //     title: '我的政策',
  //     name: 'myPolicyPage',
  //     icon: Document,
  //   },
  // },
  {
    path: 'myCollection',
    name: 'myCollectionPage',
    component: () => import('@/views/back/company/myCollection.vue'),

    meta: {
      title: '我的收藏',
      name: 'myCollectionPage',
      icon: FolderChecked,
    },
  },
  // {
  //   path: 'myRollPack',
  //   name: 'myRollPackPage',
  //   component: () => import('@/views/back/company/myRollPack.vue'),

  //   meta: {
  //     title: '我的卷包',
  //     name: 'myRollPackPage',
  //     icon: Files,
  //   },
  // },
  {
    path: 'helpCenter',
    name: 'helpCenterPage1',
    component: () => import('@/views/back/company/helpCenter.vue'),

    meta: {
      title: '帮助中心',
      name: 'helpCenterPage2',
      icon: FirstAidKit,
    },
  },
  {
    path: 'feedback',
    name: 'feedbackPage',
    component: () => import('@/views/back/company/feedBack.vue'),

    meta: {
      title: '意见反馈',
      name: 'feedbackPage',
      icon: Postcard,
    },
  },
]

export default company
